Skip to content

Conversation

@kenmaqqe
Copy link
Collaborator

Create in ui-shared our table components and testing they in order page with mock data

Create in ui-shared our table components and testing they in order page
with mock data
@Tornik73
Copy link
Member

Tornik73 commented May 26, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

create sort component using ant design library
@kenmaqqe
Copy link
Collaborator Author

i think for delete we can make universal DeleteModal, but for editing we wanna create different modals component or what? write all logic, form and another in page?

@kenmaqqe
Copy link
Collaborator Author

AddModal maybe only for products, edit for user and product. OrderPage must have only delete

@kenmaqqe
Copy link
Collaborator Author

And what we go post on our DashboardPage?

resolve changes

BREAKING CHANGE: 🧨 resolve changes

✅ Closes: resolve changes
@kenmaqqe
Copy link
Collaborator Author

kenmaqqe commented Jul 1, 2025

i add logic to editOrderModal but i think we don`t need this modal, what u think about it?

@Tornik73
Copy link
Member

Tornik73 commented Jul 2, 2025

i think for delete we can make universal DeleteModal, but for editing we wanna create different modals component or what? write all logic, form and another in page?

You can use your base modal, but pass forms and buttons in the children

@Tornik73
Copy link
Member

Tornik73 commented Jul 2, 2025

And what we go post on our DashboardPage?

Firstly we need to understand which data we have
I suppose it will some charts there
Like how much products, users etc we have
image
image

});

const handleDelete = (id: number) => {
setOrderData(orderData.filter((item) => item.id !== id));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use prev value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants